//
//  ViewController.m
//  TestWeb
//
//  Created by tianlong on 2018/7/31.
//  Copyright © 2018年 tianlong. All rights reserved.
//

#import "ViewController.h"
#import "WebViewController.h"
#import "WXAnimationController.h"
#import "WXJSWebViewController.h"
#import "WXJSViewController.h"

@interface ViewController ()
@end

@implementation ViewController

- (IBAction)present:(id)sender {
    WebViewController *webVC = [[WebViewController alloc] init];
    [self presentViewController:webVC animated:YES completion:nil];
    
}


- (IBAction)push:(id)sender {
    
    WXJSViewController *webVC = [[WXJSViewController alloc] init];
    [self.navigationController pushViewController:webVC animated:YES];
}

- (IBAction)toAnimation:(id)sender {
    self.navigationController.navigationBar.translucent = YES;
    WXAnimationController *aniVC = [[WXAnimationController alloc] init];
    [self.navigationController pushViewController:aniVC animated:YES];
}


- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)btnClick{
    [self dismissViewControllerAnimated:YES completion:nil];
}




@end
